package com.qhit.dao;

import com.qhit.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface UserMappper {
    List<User> getList(HashMap hashMap);


    List<User> getList2();

    Long getListCount(HashMap hashMap);

    int add(User User);

    User getUserById(Integer id);

    int edit(User User);

     int delete(Integer id);

    User getUserByUserName(String username);
}
